/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: DemoTest.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/2/28 下午12:25
 * LastModified: 2020/02/28 12:25:28
 */

package com.qolome.knowledge.design.pattern.singleton.register;

/**
 * @author Qolome
 * @version V1.0
 * @Description 枚举单例
 * @date 2020年 02月28日 12:25:28
 */

public enum EnumSinglenton {

    /**
     * 实例
     */
    INSTANCE;

    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static EnumSinglenton getInstance() {
        return INSTANCE;
    }
}
